<script type="text/javascript" src="js/ddm.js"></script>

<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="http://displaytag.sf.net" prefix="display"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<table width="100%">
	<tr>
		<td>
			<div class="blue-text16" style="margin: 0px 0px 0px 0px">
				<table>
					<tr>
						<td class="heding" align="left">
							My favorite company profile
						</td>
						<td class="heding" align="right">
							<table width="100%" align="right">
								<tr>
									<td >
									<div style="margin:0px 8px 0px 0px">
				                              <table border="0" cellspacing="0" cellpadding="0">
				                                <tr>
				                                  <td><img src="images/top/btn-grey-left.gif" alt=" " width="6" height="23" /></td>
				                                  <td class="btn-grey-middle "><div style="margin:0px 5px 6px 5px"><a href="addToFavoriteCompanyProfile.htm" class="btn-grey-link">Add to favorite company profiles </a></div></td>
				                                  <td><img src="images/top/btn-grey-right.gif" alt=" " width="6" height="23" /></td>
				                                </tr>
				                              </table>
				                            </div>
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
			</div>
			<div class="header-separator-bg" style="margin: 10px 5px 17px 0px"></div>
			<div style="margin: 0px 0px 12px 0px">


<s:form action="#">

	<table border="0" cellpadding="0" cellspacing="0" width="100%">
		<tbody>
			<tr>
				<td width="100%">
					<table border="0" cellpadding="0" cellspacing="0" width="100%">
						<tbody>
							<display:table name="list" pagesize="10"
								requestURI="favoriteProfile.htm" id="row">
								<display:column title="#">
									<s:checkbox name="selectedCategory" theme="simple" fieldValue="%{#attr.row.id}"/>
								</display:column>
								<display:column property="name" title="Title" />
								<display:column value="${row.generalCategories.categoryName}"
									title="Category:" />
								<display:column property="location" title="Location" />
								<display:column title="Added">
									<s:date name="%{#attr.row.date}" format="dd MMMM yyyy" />
								</display:column>


								<display:column autolink="true" title="OptionsEdit"
									paramProperty="id" href="addToFavorite.htm" paramId="id">
								Edit
							</display:column>

							<display:column autolink="true" title="Options" paramProperty="id" href="addToFavorite.htm" paramId="id" >
									<td id="sddm" valign="top">
										<a href="#" onmouseover="mopen('1', this, 'right', 1)"
										onmouseout="mclosetime()">Select</a>
										<div id="1" onmouseover="mcancelclosetime()"
											onmouseout="mclosetime()">
											<a
												href="#/auction_demo/cgi/auction.cgi?action=DeleteFavoritesCompanyProfile&amp;Name=profile%20testtest&amp;Cat_ID=349&amp;Lang=en&amp;Favorite=Company&amp;Row_no=47">Delete</a><a
												href="#/auction_demo/cgi/auction.cgi?action=AddFavoritesCompanyProfile&amp;edit=true&amp;Name=profile%20testtest&amp;User_ID=test&amp;Cat_ID=349&amp;Lang=en&amp;Row_no=47">Edit</a><a
												href="">View sellers other items</a><a href="">View
												sellers shop</a><a href="">Items wanted</a>
										</div>
									</td>
								</display:column>

								<display:column title="Note">
									<c:out value="${row.note}"></c:out>
								</display:column>
							</display:table>
							<tr>
								<td width="100%">
									<table border="0" cellspacing="0" cellpadding="0">
														<tr>
															<td>
																<img src="images/middle/btn-grey-left1.gif" alt=" "
																	width="6" height="23" />
															</td>
															<td class="btn-grey-middle1 ">
																<s:submit name="delete" value="delete" align="left"
																	theme="simple" cssClass="submit-btn-common" disabled="true"/>
															</td>
															<td>
																<img src="images/middle/btn-grey-right1.gif" alt=" "
																	width="6" height="23" />
															</td>
														</tr>
													</table>
								</td>
							</tr>
						</tbody>
					</table>
				</td>
			</tr>
		</tbody>
	</table>
</s:form>